<%--
  Created by IntelliJ IDEA.
  User: 13687
  Date: 2017/3/9
  Time: 21:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>回显</title>
</head>
<body>
<%--这里指定#--%>
<s:form>
   用户名： <s:textfield name="admin.userName" value="admin.userName"/> <br>
   密码： <s:textfield name="admin.pwd" value="admin.pwd"/> <br>
    <s:property value="userName"/>
    <s:property value="pwd"/>
</s:form>
<hr>
<%--确实放到Request 中了--%>
<form>
    用户名：<input value="admin.userName"> <br>
    密码：<input value="admin.pwd"> <br>
</form>
<s:debug/>
</body>
</html>
